@include('layouts.Common.header')
@include('common.category.index',$categroy)


<div class="card-body">
    <div class="nr-toolbar btn-group">
    </div>
    <div class="nr-form">
        <input type="text" class="_category search" name="_category" value="" hidden>
    </div>
    <div class="nr-grid">
    </div>
</div>
{!! js() !!}
<script>
    $(".nr-grid").initgrid({!! json_encode($fg) !!});
    $(".nr-toolbar").toolbar({!! json_encode($toolbar) !!});

    var onClick = function(e, elm, data) {
        var toolbar = $(".nr-toolbar").toolbar();

        $("._category").val(data.id);
        $(".nr-form").data('formSearch').triggerSearch();

    }
</script>
